package Solutions

func isOneBitCharacter(bits []int) bool {
	var i = 0
	for i = 0; i < len(bits); {
		if bits[i] == 1 {
			i += 2
			continue
		}
		i++
		if i == len(bits) {
			return true
		}
	}

	return false
}
